package edu.nf.waimai.model.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nf.db.util.Column;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrderDTO {
    @Column("order_id")
    private String orderId;
    @Column("order_user_id")
    private Integer orderUserId;
    @Column("order_shop_id")
    private Integer orderShopId;
    @Column("order_rider_id")
    private Integer orderRiderId;
    @Column("order_address_id")
    private Integer orderAddressId;
    @Column("order_status")
    private Integer orderStatus;
    @Column("total_price")
    private BigDecimal totalPrice;
    @Column("order_type")
    private String orderType;
    @Column("order_datetime")
    private LocalDateTime orderDatetime;
    @Column("order_remarks")
    private String orderRemarks;
    @Column("order_details")
    private String orderDetails;
    @Column("shop_id")
    private Integer shopId;
    @Column("shop_img")
    private String shopImg;
    @Column("shop_types_id")
    private Integer shopTypesId;
    @Column("shop_user_id")
    private Integer shopUserId;
    @Column("shop_name")
    private String shopName;
    @Column("shop_phone")
    private String shopPhone;
    @Column("shop_address")
    private String shopAddress;
    @Column("shop_create_time")
    private LocalDateTime shopCreateTime;
    @Column("shop_details")
    private String shopDetails;

    @Column("user_id")
    private Integer userId;
    @Column("username")
    private String username;
    @Column("password")
    private String password;
    @Column("nickname")
    private String nickname;
    @Column("user_phone")
    private String userPhone;
    @Column("user_avatar")
    private String userAvatar;
    @Column("user_create_time")
    private LocalDateTime userCreateTime;

    @Column("address_id")
    private Integer addressId;
    @Column("address_user_id")
    private Integer addressUserId;
    @Column("recipient_name")
    private String recipientName;
    @Column("recipient_phone")
    private String recipientPhone;
    @Column("province")
    private String province;
    @Column("city")
    private String city;
    @Column("district")
    private String district;
    @Column("address_detail")
    private String addressDetail;
    @Column("areaCode")
    private String areaCode;
    @Column("default_address")
    private Integer defaultAddress;
    @Column("address_create_time")
    private LocalDateTime addressCreateTime;

}
